package com.guigu.mybatis.bean;

import java.sql.Timestamp;

public class SpPlan {
    private Integer id;
    private Timestamp playTime;
    private Integer mid;
    private Integer hid;
    private Float price;

    //排片对象 关联影厅 1对1
     private SpHall hall;
     public  SpHall getHall(){
         return hall;
     }
     public void setHall(SpHall hall){
         this.hall=hall;
     }
    //排片对象 关联影厅 1对1
    private SpMovie movie;
    public  SpMovie getMovie(){
        return movie;
    }
    public void setMovie(SpMovie movie){
        this.movie=movie;
    }
    public Integer getId() {
        return id;
    }

    @Override
    public String toString() {
        return "SpPlan{" +
                "id=" + id +
                ", playTime=" + playTime +
                ", mid=" + mid +
                ", hid=" + hid +
                ", price=" + price +
                '}';
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Timestamp getPlayTime() {
        return playTime;
    }

    public void setPlayTime(Timestamp playTime) {
        this.playTime = playTime;
    }

    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    public Integer getHid() {
        return hid;
    }

    public void setHid(Integer hid) {
        this.hid = hid;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
